<div class="pa-top">
  <h2 class="f16">新用户注册</h2>

  <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
    <%= devise_error_messages! %>

    <p>
      <%= f.label :email,'填写邮箱作为账号' %><br />
      <%= f.email_field :email %>
    </p>

    <p>
      <%= f.label :password,'设定您的密码' %><br />
      <%= f.password_field :password %>
    </p>

    <p>
      <%= f.label :password_confirmation,'再输入一次密码以确认' %><br />
      <%= f.password_field :password_confirmation %>
    </p>

    <p><%= f.submit "注册账号" %></p>
  <% end %>

  <%= render :partial => "users/shared/links" %>
</div>